﻿using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 会员简要信息
    /// </summary>
    public class BaseUserDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid ID { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        public int U_Code { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string? U_NickName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? U_Headportrait { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? U_RealName { get; set; }

        /// <summary>
        /// 小程序ID
        /// </summary>
        public string? U_OpenId { get; set; }

        /// <summary>
        /// U_Unionid
        /// </summary>
        public string? U_Unionid { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? U_PhoneNum { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public Guid? ProvinceID { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string? U_P_Name { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public Guid? CityID { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string? U_C_Name { get; set; }

        /// <summary>
        /// 是否可提现
        /// </summary>
        public bool? U_IsCanWithdrawal { get; set; }

        /// <summary>
        /// 性别  0：男 1：女 2：未知
        /// </summary>
        public SexEnum? U_Sex { get; set; }

        /// <summary>
        /// 网球水平
        /// </summary>
        public string? TennisLevel { get; set; } = "1.0";

        /// <summary>
        /// 网球水平ID
        /// </summary>
        public Guid? TennisLevelId { get; set; }

        /// <summary>
        /// 网球水平备注
        /// </summary>
        public string? TennisLevelExplain { get; set; }

        /// <summary>
        /// 是否场馆管理员
        /// </summary>
        public bool IsVenueManage { get; set; }

        /// <summary>
        /// 教练角色
        /// </summary>
        public CoacherTypeEnum CoacherType { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTimeOffset? CreateTime { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTimeOffset? U_Birthday { get; set; }

        /// <summary>
        /// 实名认证真实姓名
        /// </summary>
        public string? CardName { get; set; }

        /// <summary>
        /// 公众号openid
        /// </summary>
        public string? U_WxOpenId { get; set; }

        /// <summary>
        /// 是否是比赛管理员
        /// </summary>
        public bool IsGameManage { get; set; }

        /// <summary>
        /// 是否已同步电话
        /// </summary>
        public bool IsSyncPhone { get; set; }

        /// <summary>
        /// 是否已同步用户信息
        /// </summary>
        public bool IsSyncUserInfo { get; set; }
    }
}
